class CreateChildren < ActiveRecord::Migration
  def self.up
    create_table :children do |t|
      t.column :first_name,:string
      t.column :last_name,:string
      t.column :city,:string
      t.column :country,:string
      t.column :bio,:string
      t.column :picture_url,:string
      t.column :sponsorship_needs, :integer
      t.column :child_is_sponsored,:boolean
    end
  end

  def self.down
    drop_table :children
  end
end
